package execption;

import java.awt.*;
import java.io.FileNotFoundException;
import java.io.IOException;

public class Throws2Demo {
    /*public void dosome() throws IOException, AWTException, IllegalAgeException;*/
}
class SubClass extends Throws2Demo{
    //public void dosome()throws IOException,AWTException{}
    //public void dosome(){}
    //public void dosome()throws IOException{}
    //public void dosome()throws FileNotFoundException{}

    //public void dosome()throws IllegalAgeException{}
    //public void dosome() throws Exception{}
}